package com.ly.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.base.AutoEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@TableName("c_carOrder")
public class CarOrder extends AutoEntity<CarOrder> {

    @ApiModelProperty(value = "订单状态(0=使用中 1=已完成 2=已逾期)")
    private Integer orderStatus;

    @ApiModelProperty(value = "租借支付金额")
    private Double price;

    @ApiModelProperty(value = "实际最后扣款金额")
    private Double practicalPrice;

    @ApiModelProperty(value = "订单编号")
    private String orderCode;

    @ApiModelProperty(value = "可借时间")
    private Integer loanableTime;

    @ApiModelProperty(value = "预计归还时间")
    private String returnTime;

    @ApiModelProperty(value = "实际归还时间")
    private String practicalTime;

    @ApiModelProperty(value = "违约金")
    private Double penalSum;

    @ApiModelProperty(value = "出借id")
    private String carId;

    @ApiModelProperty(value = "发布标题")
    @TableField(exist = false)
    private String title;

    @ApiModelProperty(value = "修改原因")
    private String remark;


}
